Solving String Problems on Graphs Using the Labeled Direct Product
نویسندگان
چکیده
Abstract Suffix trees are an important data structure at the core of optimal solutions to many fundamental string problems, such as exact pattern matching , longest common substring statistics and repeated . Recent lines research focused on extending some these problems vertex-labeled graphs, either by using efficient ad-hoc approaches which do not generalize all input or indexing difficult graphs having worst-case exponential complexities. In absence ubiquitous polynomial tool like suffix tree for labeled we introduce direct product two a general obtaining algorithms in worst case: obtain conceptually simpler quadratic () graphs. Our run time linear size graph, may be smaller than inputs, their run-time is predictable, because graph can precomputed efficiently. We also solve containing cycles, was left open problem Shimohira et al. 2011. To show power apply it Moreover, that our (worst-case quadratic) optimal, conditioned Orthogonal Vectors Hypothesis. Finally, complete complexity picture around studying undirected
منابع مشابه
Solving Classical String Problems on Compressed Texts
Here we study the complexity of string problems as a function of the size of a program that generates input. We consider straight-line programs (SLP), since all algorithms on SLP-generated strings could be applied to processing LZ-compressed texts. The main result is a new algorithm for pattern matching when both a text T and a pattern P are presented by SLPs (so-called fully compressed pattern...
متن کاملOn the basis number of the direct product of graphs
The basis number b(G) of a graph G is defined to be the least integer d such that G has a d-fold basis for its cycle space. In this paper we: give an upper bound of the basis number of the direct product of trees; classify the trees with respect to the basis number of the direct product of trees and paths of order greater than or equal to 5; give an upper bound of the basis number of the direct...
متن کاملOn the connectivity of the direct product of graphs
In this note we show that the edge-connectivity λ(G × H) of the direct product of graphs G and H is bounded below by min{λ(G)|E(H)|, λ(H)|E(G)|, δ(G × H)} and above by min{2λ(G)|E(H)|, 2λ(H)|E(G)|, δ(G×H)} except in some special cases when G is a relatively small bipartite graph, or both graphs are bipartite. Several upper bounds on the vertex-connectivity of the direct product of graphs are al...
متن کاملIndependence in Direct-Product Graphs
Let α(G) denote the independence number of a graph G and let G ×H be the direct product of graphs G and H. Set α(G ×H) = max{α(G) · |H|, α(H) · |G|}. If G is a path or a cycle and H is a path or a cycle then α(G×H) = α(G×H). Moreover, this equality holds also in the case when G is a bipartite graph with a perfect matching and H is a traceable graph. However, for any graph G with at least one ed...
متن کاملSolving Classical String Problems an Compressed Texts
Here we study the complexity of string problems as a function of the size of a program that generates input. We consider straight-line programs (SLP), since all algorithms on SLP-generated strings could be applied to processing LZ-compressed texts. The main result is a new algorithm for pattern matching when both a text T and a pattern P are presented by SLPs (so-called fully compressed pattern...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Algorithmica
سال: 2022
ISSN: ['1432-0541', '0178-4617']
DOI: https://doi.org/10.1007/s00453-022-00989-x